package org.colcon.web.model.framework;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

public interface IItem extends Serializable, Comparable<IItem>
{
	public String getType();
	
	public String getText();
	
	public String getArg(String key);
	public boolean hasArg(String key);
	public void setArg(String key, String value);
	
	public String getId();
	public void setId(String id);
	
	public String getParentPath();
	public void setParentPath(String parent);
	
	public String getPath();
	
	public Date getDate();
	public void setDate(Date date);
	
	public boolean isRoot();
	
	public Map<String, String> toMap();
}
